var vm = new Vue({
    el:'#footer',
    data:{
        currentIndex:0,
        arr:[
            {pic:'./img/首页.jpg',name:"首页"},
            {pic:'./img/订单.jpg',name:"订单"},
            {pic:'./img/我的.jpg',name:"我的"}
        ]
    },
    methods:{
        handleClick(index){
                this.currentIndex = index;
        }
    }
})